package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

@Setter
@Getter
@ToString
public class Dish {
    private int id;
    @TableField("name")
    private String dishName;
    private BigDecimal marketPrice;
    private BigDecimal price;
    private String onshelfTime;
    private String description;
    private String picture;
    private int stock;
    private String isNew;
    private String isHot;
    private int saleNum;
    private String status;
    @TableField("shopId")
    private int shopId;
    @TableField("dishCategoryId")
    private int dishCategoryId;
    //菜品规格值
    private String spec_array;
    @TableField("model_id")
    private int modelId;

    private String spec;
}
